<?php
class UserModel extends Model
{
    protected $_validate = array(
        array('username', 'require', '用户名必填'),
        array('password', 'require', '密码必填'),
        array('email', 'require', 'E-Mail必填')
    );
    protected $_auto = array(
        array('reg_time', 'time', 1, 'function'),
    );
}